﻿using System;
using System.Collections.Generic;
using System.Text;
using RSISOfficeHelper;

namespace RSIS.Office
{
    public class ExcelSheet
    {

        private RSISOfficeHelper.ExcelSheet m_pExcelSheet;

        public ExcelSheet()
        {
            m_pExcelSheet = new RSISOfficeHelper.ExcelSheet();
        }

        /// <summary>
        /// 对象进行初始化
        /// </summary>
        public void Initialize()
        {
            m_pExcelSheet.Initialize();
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="RowIndex"></param>
        /// <param name="ColumnIndex"></param>
        /// <param name="Text"></param>
        public void Cells(int RowIndex, int  ColumnIndex, string Text)
        {

             m_pExcelSheet.Cells(RowIndex, ColumnIndex, Text);

        }
        
        /// <summary>
        /// 
        /// </summary>
        public void AutoFit()
        {

             m_pExcelSheet.AutoFit();

        }

        public object GetWorkBook()
        {
            return m_pExcelSheet.GetWorkBook();
        }
    }
  
}
